package org.geektimes.projects.user.support.mvc;

import org.geektimes.projects.user.support.ApplicationContext;
import org.geektimes.web.mvc.header.WebControllerLoader;

import java.util.List;

/**
* 基于jndi的加载  
* @author : KangNing Hu
*/
public class JNDIWebControllerLoader implements WebControllerLoader {

	@Override
	public List<Object> loaders() {

		return ApplicationContext.getBeansByPrefix("web");
	}
}
